package com.ikingtech.platform.service.system.dept.service;

import com.ikingtech.framework.sdk.component.model.ComponentDepartment;
import com.ikingtech.framework.sdk.department.api.DeptOrgApi;

import java.util.List;
import java.util.Map;

/**
 * @author tie yan
 */
public class CompDepartmentService extends AbstractCompDepartmentService {

    public CompDepartmentService(DeptService service, DeptOrgApi deptOrgApi, ModelConverter converter) {
        super(service, deptOrgApi, converter);
    }

    @Override
    public List<ComponentDepartment> listByName(String name) {
        return super.listByName(name);
    }

    @Override
    public List<ComponentDepartment> listByParentId(String parentId) {
        return super.listByParentId(parentId);
    }

    @Override
    public List<ComponentDepartment> listByOrgId(String orgId) {
        return super.listByOrgId(orgId);
    }

    @Override
    public ComponentDepartment getRootDepartment() {
        return super.getRootDepartment();
    }

    @Override
    public Map<String, String> extractDepartmentFullName(Map<String, String> deptFullPathMap) {
        return super.extractDepartmentFullName(deptFullPathMap);
    }
}
